package com.xiaomi.service;

import com.github.pagehelper.PageInfo;
import com.xiaomi.domain.UserEntity;
import org.springframework.web.multipart.MultipartFile;

public interface UserService {
    PageInfo<UserEntity> findPageUsers(Integer pageNum);

    boolean deleteUsersById(String[] ids);

    boolean updateManager(String uid,Integer manger);

    UserEntity getUserByPhone(String phone);

    boolean isRegister(String phone, String userName);


    boolean register(UserEntity user, String realPath, MultipartFile photo_);

    UserEntity getUserByUsernamePwd(String username, String password);
}
